﻿namespace Material.Mvc.Models.OrderModels
{
    public class WorkOrderOutput
    {
        /// <summary>
        /// 工单编号
        /// </summary>
        public string? OrderNumber { get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        public string? OrderName { get; set; }
        /// <summary>
        /// 物品id
        /// </summary>
        public int? Article_Id { get; set; }
        /// <summary>
        /// 物品名称
        /// </summary>
        public string ArticleName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? Status { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Principal { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string? DepartmentName { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime? Planned_Start { get; set; }
        /// <summary>
        /// 实际开始时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime? Planned_Completion { get; set; }
        /// <summary>
        /// 实际结束时间
        /// </summary>
        public DateTime? UpDataTime { get; set; }
        /// <summary>
        /// 计划产量
        /// </summary>
        public int? Planned_Output { get; set; }
        /// <summary>
        /// 合格数量
        /// </summary>
        public int? QualifiedNum { get; set; }
        /// <summary>
        ///不合格数量
        /// </summary>
        public int? DisqualificationNum { get; set; }
        /// <summary>
        /// 合格率
        /// </summary>
        public string? Pass { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Note { get; set; }
    }
}
